package com.lyh.system.domain.req;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lyh.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel(value = "商品修改")
@Data
public class GoodsEditReq  {

    @ApiModelProperty(example = "主键")
   @NotNull
    private Long id;

    /** 名称 */
    @ApiModelProperty(example = "商品名称")
    private String name;

    /** 图片 */
    @ApiModelProperty(example = "主图")
    private String picture;

    /** 价格 */
    @ApiModelProperty(example = "价格")
    private BigDecimal price;

    @ApiModelProperty(example = "资产通证")
    private BigDecimal assetEvidenceNum;



 @ApiModelProperty(example = "商品库存")
    private Long goodsInventory;


    //状态 0 未上架 1上架
    @ApiModelProperty(example = "状态 0 未上架 1上架")
    private Integer status;


}
